package com.breeze.blockchain.service;

import com.breeze.blockchain.controller.admin.vo.PermissionResourceVO;
import com.breeze.blockchain.mybatis.entity.RolePermissionDo;
import com.mybatisflex.core.service.IService;
import java.util.List;

/**
 * 角色权限关联表 服务层。
 *
 * @author breeze
 * @since 2024-05-11 23:21:51
 */
public interface RolePermissionService extends IService<RolePermissionDo> {

  void assignPermission(Long roleId, List<Long> permissionIds);

  PermissionResourceVO getUserPermissionResource(Long adminId);
}
